package com.atguigu.lease.model.vo.app;

import com.atguigu.lease.model.bean.LeaseAgreement;
import com.atguigu.lease.model.vo.apartment.GraphVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class AgreementItemVo extends LeaseAgreement {
    private String apartmentName;
    private String roomNumber;
    @Schema(description = "是否可续租： 如果当前用户有这个房间的租约，这个房间没有其他用户的 2/5状态的租约合同，当前用户可以续租")
    private Boolean isRenewable;
    private List<GraphVo> roomGraphVoList;
}